#include "process.h"

int main() {
    int rate = 0;
    int pua = 10;
    while (rate <= MAX_SIZE) {
        process3(rate);
        usleep(PUA); // 模拟一个特定的应用场景
        if (rate >= MAX_SIZE / 2 && pua) {
            rate = MAX_SIZE / 2;
            pua--;
        } else {
            rate++;
        }
    }
    printf("\n");

    return 0;
}
